﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000701 RID: 1793
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetGachaCeilingCsReq : IMessage<GetGachaCeilingCsReq>, IMessage, IEquatable<GetGachaCeilingCsReq>, IDeepCloneable<GetGachaCeilingCsReq>, IBufferMessage
	{
		// Token: 0x17001702 RID: 5890
		// (get) Token: 0x060050B9 RID: 20665 RVA: 0x000DB958 File Offset: 0x000D9B58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetGachaCeilingCsReq> Parser
		{
			get
			{
				return GetGachaCeilingCsReq._parser;
			}
		}

		// Token: 0x17001703 RID: 5891
		// (get) Token: 0x060050BA RID: 20666 RVA: 0x000DB95F File Offset: 0x000D9B5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetGachaCeilingCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001704 RID: 5892
		// (get) Token: 0x060050BB RID: 20667 RVA: 0x000DB971 File Offset: 0x000D9B71
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetGachaCeilingCsReq.Descriptor;
			}
		}

		// Token: 0x060050BC RID: 20668 RVA: 0x000DB978 File Offset: 0x000D9B78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetGachaCeilingCsReq()
		{
		}

		// Token: 0x060050BD RID: 20669 RVA: 0x000DB980 File Offset: 0x000D9B80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetGachaCeilingCsReq(GetGachaCeilingCsReq other) : this()
		{
			this.gachaType_ = other.gachaType_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060050BE RID: 20670 RVA: 0x000DB9A5 File Offset: 0x000D9BA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetGachaCeilingCsReq Clone()
		{
			return new GetGachaCeilingCsReq(this);
		}

		// Token: 0x17001705 RID: 5893
		// (get) Token: 0x060050BF RID: 20671 RVA: 0x000DB9AD File Offset: 0x000D9BAD
		// (set) Token: 0x060050C0 RID: 20672 RVA: 0x000DB9B5 File Offset: 0x000D9BB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GachaType
		{
			get
			{
				return this.gachaType_;
			}
			set
			{
				this.gachaType_ = value;
			}
		}

		// Token: 0x060050C1 RID: 20673 RVA: 0x000DB9BE File Offset: 0x000D9BBE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetGachaCeilingCsReq);
		}

		// Token: 0x060050C2 RID: 20674 RVA: 0x000DB9CC File Offset: 0x000D9BCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetGachaCeilingCsReq other)
		{
			return other != null && (other == this || (this.GachaType == other.GachaType && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060050C3 RID: 20675 RVA: 0x000DB9FC File Offset: 0x000D9BFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GachaType != 0U)
			{
				num ^= this.GachaType.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060050C4 RID: 20676 RVA: 0x000DBA3B File Offset: 0x000D9C3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060050C5 RID: 20677 RVA: 0x000DBA43 File Offset: 0x000D9C43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060050C6 RID: 20678 RVA: 0x000DBA4C File Offset: 0x000D9C4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GachaType != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.GachaType);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060050C7 RID: 20679 RVA: 0x000DBA80 File Offset: 0x000D9C80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GachaType != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GachaType);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060050C8 RID: 20680 RVA: 0x000DBABE File Offset: 0x000D9CBE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetGachaCeilingCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GachaType != 0U)
			{
				this.GachaType = other.GachaType;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060050C9 RID: 20681 RVA: 0x000DBAEF File Offset: 0x000D9CEF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060050CA RID: 20682 RVA: 0x000DBAF8 File Offset: 0x000D9CF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.GachaType = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001FB7 RID: 8119
		private static readonly MessageParser<GetGachaCeilingCsReq> _parser = new MessageParser<GetGachaCeilingCsReq>(() => new GetGachaCeilingCsReq());

		// Token: 0x04001FB8 RID: 8120
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001FB9 RID: 8121
		public const int GachaTypeFieldNumber = 2;

		// Token: 0x04001FBA RID: 8122
		private uint gachaType_;
	}
}
